<template>
    <ul>
        <li>
            <RouterLink to="/news/1">新闻1</RouterLink>
        </li>
        <li>
            <RouterLink :to="{
                name: 'xinwen2',
                params: {
                    id: 2,
                    title: '23423',
                    content: 'fldfjlasdfjlsd'
                }
            }">新闻2</RouterLink>
        </li>
    </ul>
    <div>
        <RouterView></RouterView>
    </div>
</template>
<script setup lang="ts">
</script>
<style></style>